import request from '@/utils/request'
export function monthCashAdd(params = {}) {
    return request({
        url: '/monthCash/add',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}

export function monthCashDelete(params = {}) {
    return request({
        url: '/monthCash/delete',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}

export function getDetail(params = {}) {
    return request({
        url: '/monthCash/detail',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}

export function update(params = {}) {
    return request({
        url: '/monthCash/edit',
        method: 'POST',
        data: params
    }).then((data) => {
        return data
    })
}

export function monthCashList(params = {}) {
    return request({
        url: '/monthCash/list',
        method: 'POST',
        data: params
    }).then(({
        data
    }) => {
        return data
    })
}
